#!groovy

pipeline{
   agent any
   stages{
       stage("Deploy"){
            steps{
                script{
                    println("hello world")
                }  
           }
       }
    }

    post {
        always{
            script{
                println("always")
            }
        }
        success{
            script{
                println("success")
            }
        }
        failure{
            script{
                println("failure")
            }
        }
        aborted{
            script{
                println("aborted")
            }
        }
    }
}